import { defineStore } from "pinia";

export const useTestStore = defineStore("test", {
  state: () => ({
    name: "test",
    id: "",
    tree:[],
  }),
  getters: {
    // name: (state) => state.name,
  },
  actions: {
    setName(name) {
      this.name = name;
    },
  },
});
